package com.tianlan.blog.dto;

import java.math.BigInteger;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 
 * </p>
 *
 * @author tl-wxq
 * @since 2018-10-24
 */
@ApiModel(value = "Log对象", description = "")
public class LogInfo {

    @ApiModelProperty(value = "序号")
    private BigInteger id;

    @ApiModelProperty(value = "接口名称")
    private String methodName;

    @ApiModelProperty(value = "入参")
    private String inParams;
    
    @ApiModelProperty(value = "出参")
    private String outParams;
    
    @ApiModelProperty(value = "日志类型")
    private Character logType;

    @ApiModelProperty(value = "操作名称")
    private String operationName;

    @ApiModelProperty(value = "操作的IP")
    private String operationIp;

    @ApiModelProperty(value = "记录日期")
    private Date createTime;

    @ApiModelProperty(value = "操作人")
    private Integer creator;
  
    public LogInfo() {
		super();
	}
    
	public LogInfo(BigInteger id, String methodName, String inParams, String outParams, Character logType,
			String operationName, String operationIp, Date createTime, Integer creator) {
		super();
		this.id = id;
		this.methodName = methodName;
		this.inParams = inParams;
		this.outParams = outParams;
		this.logType = logType;
		this.operationName = operationName;
		this.operationIp = operationIp;
		this.createTime = createTime;
		this.creator = creator;
	}

	public BigInteger getId() {
		return id;
	}

	public void setId(BigInteger id) {
		this.id = id;
	}

	public String getMethodName() {
		return methodName;
	}

	public void setMethodName(String methodName) {
		this.methodName = methodName;
	}

	public String getInParams() {
		return inParams;
	}

	public void setInParams(String inParams) {
		this.inParams = inParams;
	}

	public String getOutParams() {
		return outParams;
	}

	public void setOutParams(String outParams) {
		this.outParams = outParams;
	}

	public Character getLogType() {
		return logType;
	}

	public void setLogType(Character logType) {
		this.logType = logType;
	}

	public String getOperationName() {
		return operationName;
	}

	public void setOperationName(String operationName) {
		this.operationName = operationName;
	}

	public String getOperationIp() {
		return operationIp;
	}

	public void setOperationIp(String operationIp) {
		this.operationIp = operationIp;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Integer getCreator() {
		return creator;
	}

	public void setCreator(Integer creator) {
		this.creator = creator;
	}
	
}
